Contribution org.nuxeo.drive.actions--filters
In component org.nuxeo.drive.actions
org.nuxeo.drive.actions
inside nuxeo-drive-jsf-7.10.jar /OSGI-INF/nuxeodrive-actions.xml
This contribution is part of XML component Extension Point
Extension point filters of component ActionService.Contributed Items
XML Source
<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
<filter id="can_sync_current_doc">
<rule grant="false">
<type>Domain</type>
<type>SectionRoot</type>
<type>TemplateRoot</type>
<type>WorkspaceRoot</type>
<type>Forum</type>
<type>Collections</type>
</rule>
<rule grant="true">
<condition>#{canSynchronizeCurrentDocument}</condition>
</rule>
</filter>
<filter id="can_unsync_current_doc">
<rule grant="true">
<condition>#{canUnSynchronizeCurrentDocument}</condition>
</rule>
</filter>
<filter id="can_navigate_to_current_synchronization_root">
<rule grant="true">
<condition>#{canNavigateToCurrentSynchronizationRoot}
</condition>
</rule>
</filter>
<filter id="can_drive_edit">
<rule grant="true">
<condition>#{nuxeoDriveActions.canEditDocument(document)}</condition>
</rule>
<rule grant="false">
<facet>Collection</facet>
</rule>
</filter>
<filter id="has_one_auth_token">
<rule grant="true">
<condition>#{nuxeoDriveActions.hasOneDriveToken(currentUser)}</condition>
</rule>
</filter>
<filter id="has_no_auth_token">
<rule grant="false">
<condition>#{nuxeoDriveActions.hasOneDriveToken(currentUser)}</condition>
</rule>
</filter>
</extension>